﻿.sa-bloque-descriptivo{
        display:block;
        width:calc(100% - 40px);
        max-width:1040px;
        margin:30px auto;
        padding:35px 40px;
        background:#f5f6f7;
        box-sizing:border-box;
    }

    .sa-bloque-descriptivo p{
        margin:0;
        color:#333;
        font-size:16px;
        line-height:1.6;
    }
    
    
/* =====================================================
   Información de interés
===================================================== */

.sa-enlaces-destacados {
    display: block;
    width: calc(100% - 40px);
    max-width: 1040px;
    margin: 30px auto;
    box-sizing: border-box;
}

.sa-titulo-seccion {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 8px;
    color: #3367d6 !important;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.sa-titulo-seccion::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background-color: #3367d6;
}

.sa-enlaces-destacados__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
}

.sa-enlace-card {
    display: flex;
    min-height: 180px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8e2f2;
    border-radius: 4px;
    background-color: #ffffff;
    color: #3367d6 !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.sa-enlace-card:hover,
.sa-enlace-card:focus {
    border-color: #3367d6;
    box-shadow: 0 4px 12px rgba(0, 72, 132, 0.14);
    transform: translateY(-2px);
    outline: none;
}

.sa-enlace-card:focus-visible {
    outline: 3px solid #fdbd33;
    outline-offset: 3px;
}

.sa-enlace-card__icono {
    display: block;
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
    object-fit: contain;
}

.sa-enlace-card__titulo {
    display: block;
    color: #3367d6;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 500;
}

/* Tablet */

@media screen and (max-width: 900px) {
    .sa-enlaces-destacados__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Móvil */

@media screen and (max-width: 600px) {
    .sa-enlaces-destacados {
        width: calc(100% - 24px);
        margin: 20px auto;
    }

    .sa-enlaces-destacados__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sa-enlace-card {
        min-height: 145px;
        padding: 20px;
    }

    .sa-enlace-card__icono {
        width: 50px;
        height: 50px;
    }
}    

/* =====================================================
   Contenedor común
===================================================== */

.sa-contenedor {
    display: block;
    width: calc(100% - 40px);
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* =====================================================
   Procesos transversales
===================================================== */

.sa-procesos {
    margin-top: 35px;
    margin-bottom: 35px;
}

.sa-procesos .sa-titulo-seccion {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 8px;
    color: #3367d6;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.sa-procesos .sa-titulo-seccion::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background-color: #3367d6;
}

.sa-procesos__fondo {
    width: 100%;
    padding: 34px 45px;
    background-color: #f5f6f7;
    box-sizing: border-box;
}

.sa-grid-procesos {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px;
    align-items: stretch;
    justify-items: center;
    box-sizing: border-box;
}

.sa-card-proceso {
    display: flex;
    width: 150px;
    min-height: 190px;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #8ad4cd;
    border-radius: 5px;
    background-color: #ffffff;
    color: #333333 !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.sa-card-proceso__icono {
    display: block;
    width: 100% !important;
    height: 115px !important;
    margin: 0;
    padding: 0;
    object-fit: cover;
    background-color: #2fb9ae;
}

.sa-card-proceso__titulo {
    display: flex;
    min-height: 74px;
    padding: 9px 7px;
    align-items: center;
    justify-content: center;
    color: #333333;
    font-size: 12px;
    line-height: 1.2;
    box-sizing: border-box;
}

.sa-card-proceso:hover,
.sa-card-proceso:focus {
    border-color: #1eaea4;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Tablet */

@media screen and (max-width: 900px) {
    .sa-grid-procesos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Móvil */

@media screen and (max-width: 600px) {
    .sa-contenedor {
        width: calc(100% - 24px);
    }

    .sa-procesos__fondo {
        padding: 25px 15px;
    }

    .sa-grid-procesos {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =====================================================
   Componentes Salud Ambiental
===================================================== */

.sa-componentes {
    margin-top: 35px;
    margin-bottom: 35px;
}

.sa-grid-componentes {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 32px;
    box-sizing: border-box;
}

.sa-card-componente {
    display: flex;
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 5px;
    background-color: #ffffff;
    color: #333333 !important;
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

/* Imagen cuadrada completa, sin recortes */

.sa-card-componente__imagen {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    object-fit: contain;
    object-position: center;
    background-color: #35b5ad;
}

/* Franja inferior */

.sa-card-componente__titulo {
    display: flex;
    min-height: 45px;
    padding: 9px 10px;
    align-items: center;
    justify-content: center;
    background-color: #f5f6f7;
    color: #333333;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 400;
    box-sizing: border-box;
}

.sa-card-componente:hover,
.sa-card-componente:focus {
    border-color: #2baba3;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
    transform: translateY(-3px);
    outline: none;
}

.sa-card-componente:focus-visible {
    outline: 3px solid #fdbd33;
    outline-offset: 3px;
}

/* Tablet */

@media screen and (max-width: 900px) {
    .sa-grid-componentes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Móvil */

@media screen and (max-width: 600px) {
    .sa-grid-componentes {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sa-card-componente {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
}




/* =====================================================
   Visores Power BI
===================================================== */

.sa-visores {
    margin-top: 35px;
    margin-bottom: 45px;
}

.sa-visores__selector {
    display: flex;
    width: 100%;
    margin-bottom: 28px;
    justify-content: center;
    box-sizing: border-box;
}

.sa-visores__dropdown {
    position: relative;
    width: 270px;
    max-width: 100%;
    box-sizing: border-box;
}

.sa-visores__boton {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 10px 52px 10px 20px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4d8de;
    border-radius: 6px;
    background-color: #ffffff;
    color: #3367d6 !important;
    font-family: inherit;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.sa-visores__boton:hover {
    border-color: #3367d6;
    background-color: #f8faff;
}

.sa-visores__boton:focus {
    border-color: #3367d6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 189, 51, 0.6);
}

.sa-visores__boton-texto {
    display: block;
    width: 100%;
    color: #3367d6;
    text-align: center;
}

.sa-visores__flecha {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 12px;
    height: 12px;
    border-right: 3px solid #3367d6;
    border-bottom: 3px solid #3367d6;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
    box-sizing: border-box;
}

.sa-visores__boton[aria-expanded="true"] .sa-visores__flecha {
    transform: translateY(-25%) rotate(225deg);
}

.sa-visores__opciones {
    position: absolute;
    z-index: 50;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e1e5ea;
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
}

.sa-visores__opciones[hidden] {
    display: none !important;
}

.sa-visores__opcion {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 10px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
    color: #555555 !important;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.sa-visores__opcion:last-child {
    border-bottom: 0;
}

.sa-visores__opcion:hover,
.sa-visores__opcion:focus {
    background-color: #f5f7fa;
    color: #3367d6 !important;
    outline: none;
}

.sa-visores__opcion.is-selected {
    background-color: #f7f8fa;
    color: #333333 !important;
    font-weight: 500;
}

.sa-visores__comentario {
    margin: 0 0 14px;
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
    font-style: italic;
}

.sa-visores__comentario:empty {
    display: none;
}

.sa-visores__contenido {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background-color: #ffffff;
    box-sizing: border-box;
}

.sa-visores__iframe {
    display: block;
    width: 100%;
    min-height: 500px;
    border: 0;
    background-color: #ffffff;
}

.sa-visores__cargando {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 120px;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.94);
    color: #555555;
    font-size: 16px;
    box-sizing: border-box;
}

.sa-visores__cargando[hidden] {
    display: none !important;
}

/* Tablet */

@media screen and (max-width: 900px) {

    .sa-visores__dropdown {
        width: 250px;
    }

    .sa-visores__boton {
        min-height: 54px;
        font-size: 22px;
    }

    .sa-visores__opcion {
        font-size: 17px;
    }
}

/* Móvil */

@media screen and (max-width: 600px) {

    .sa-visores {
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .sa-visores__selector {
        margin-bottom: 20px;
    }

    .sa-visores__dropdown {
        width: 100%;
    }

    .sa-visores__boton {
        min-height: 52px;
        font-size: 20px;
    }

    .sa-visores__opcion {
        min-height: 44px;
        font-size: 16px;
    }

    .sa-visores__comentario {
        font-size: 14px;
    }

    .sa-visores__contenido {
        min-height: 450px;
        overflow-x: auto;
    }

    .sa-visores__iframe {
        min-height: 500px;
    }
}

/* =====================================================
   Sección de documentos
===================================================== */

.sa-documentos {
    margin-top: 40px;
    margin-bottom: 45px;
}

.sa-documentos__linea {
    width: 100%;
    height: 8px;
    margin-bottom: 55px;
    background-color: #e2f3f3;
}

.sa-documentos__contenido {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sa-documentos__boton {
    display: inline-flex;
    min-width: 270px;
    min-height: 58px;
    padding: 12px 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5da;
    border-radius: 6px;
    background-color: #ffffff;
    color: #3367d6 !important;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    text-decoration: underline !important;
    box-sizing: border-box;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.sa-documentos__boton:hover {
    border-color: #3367d6;
    background-color: #f7f9ff;
    color: #0046b8 !important;
    box-shadow: 0 4px 12px rgba(51, 103, 214, 0.16);
    transform: translateY(-2px);
}

.sa-documentos__boton:focus {
    border-color: #3367d6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(253, 189, 51, 0.65);
}

.sa-documentos__boton:active {
    transform: translateY(0);
}

/* Tablet */

@media screen and (max-width: 900px) {

    .sa-documentos__linea {
        margin-bottom: 45px;
    }

    .sa-documentos__boton {
        min-width: 250px;
        font-size: 22px;
    }
}

/* Móvil */

@media screen and (max-width: 600px) {

    .sa-documentos {
        margin-top: 30px;
        margin-bottom: 35px;
    }

    .sa-documentos__linea {
        height: 6px;
        margin-bottom: 35px;
    }

    .sa-documentos__boton {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 11px 20px;
        font-size: 20px;
    }
}

/* =====================================================
   Enlaces de interés - diseño Figma
===================================================== */

#min-enlaces-interes {
    margin-top: 45px;
    margin-bottom: 45px;
    padding-top: 10px;
    padding-bottom: 25px;
    background-color: #ffffff;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

#min-enlaces-interes *,
#min-enlaces-interes *::before,
#min-enlaces-interes *::after {
    box-sizing: border-box;
}

#min-enlaces-interes .min-enlaces-interes__encabezado {
    margin-bottom: 48px;
}

#min-enlaces-interes .min-enlaces-interes__titulo {
    margin: 0;
    padding: 0;
    border: 0;
    color: #1746a2;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    text-align: left;
}

#min-enlaces-interes .min-enlaces-interes__linea {
    display: block;
    width: 48px;
    height: 6px;
    margin-top: 5px;
    background-color: #1746a2;
}

#min-enlaces-interes .min-enlaces-interes__carrusel {
    position: relative;
    width: 100%;
}

#min-enlaces-interes .min-enlaces-interes__visor {
    width: 100%;
    overflow: hidden;
}

#min-enlaces-interes .min-enlaces-interes__lista {
    display: flex;
    width: 100%;
    margin: 0 auto;
    gap: 25px;
    align-items: stretch;
    justify-content: center;
}

#min-enlaces-interes .min-enlaces-interes__enlace {
    display: flex;
    flex: 0 1 275px;
    width: 275px;
    max-width: 275px;
    min-height: 49px;
    padding: 10px 22px;
    align-items: center;
    justify-content: center;
    border: 2px solid #b8ccff;
    border-radius: 28px;
    background-color: #ffffff;
    color: #3f3f3f !important;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

#min-enlaces-interes .min-enlaces-interes__enlace:hover {
    border-color: #1746a2;
    background-color: #f5f8ff;
    color: #1746a2 !important;
    transform: translateY(-2px);
}

#min-enlaces-interes .min-enlaces-interes__enlace:focus,
#min-enlaces-interes .min-enlaces-interes__enlace:focus-visible {
    border-color: #1746a2;
    outline: 3px solid #fdbd33;
    outline-offset: 3px;
}

#min-enlaces-interes .min-enlaces-interes__paginacion {
    display: flex;
    min-height: 14px;
    margin-top: 18px;
    gap: 11px;
    align-items: center;
    justify-content: center;
}

#min-enlaces-interes .min-enlaces-interes__punto {
    display: block;
    width: 11px;
    height: 11px;
    min-width: 11px;
    min-height: 11px;
    margin: 0;
    padding: 0;
    border: 3px solid #1746a2;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

#min-enlaces-interes .min-enlaces-interes__punto--activo {
    background-color: #1746a2;
}

#min-enlaces-interes .min-enlaces-interes__punto:focus,
#min-enlaces-interes .min-enlaces-interes__punto:focus-visible {
    outline: 3px solid #fdbd33;
    outline-offset: 3px;
}

#min-enlaces-interes .min-enlaces-interes__indicadores-inferiores {
    display: flex;
    margin-top: 13px;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

#min-enlaces-interes
.min-enlaces-interes__indicadores-inferiores span {
    display: block;
    width: 24px;
    height: 5px;
    border-radius: 5px;
    background-color: #9db7ee;
}

#min-enlaces-interes .min-enlaces-interes__mensaje {
    width: 100%;
    margin: 0;
    color: #4b4b4b;
    font-size: 16px;
    text-align: center;
}

#min-enlaces-interes
.min-enlaces-interes__mensaje--error {
    color: #a80521;
}

/* =====================================================
   Tablero Power BI
===================================================== */

.sa-tablero-powerbi {
    margin-top: 35px;
    margin-bottom: 45px;
}

.sa-tablero-powerbi__encabezado {
    margin-bottom: 28px;
}

.sa-tablero-powerbi__nota {
    margin: 0 0 28px;
    color: #666666;
    font-size: 16px;
    line-height: 1.5;
}

.sa-tablero-powerbi__visor {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    border: 1px solid #d8e2f2;
    background-color: #f5f6f7;
    box-sizing: border-box;
}

.sa-tablero-powerbi__iframe {
    display: block;
    width: 100%;
    height: 650px;
    border: 0;
    background-color: #ffffff;
}

/* Tablet */

@media screen and (max-width: 900px) {
    .sa-tablero-powerbi__visor {
        min-height: 560px;
    }

    .sa-tablero-powerbi__iframe {
        height: 560px;
    }
}

/* Móvil */

@media screen and (max-width: 600px) {
    .sa-tablero-powerbi {
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .sa-tablero-powerbi__nota {
        font-size: 14px;
    }

    .sa-tablero-powerbi__visor {
        min-height: 480px;
    }

    .sa-tablero-powerbi__iframe {
        height: 480px;
    }
}
